<script>
  const p = new Promise((resolve, reject) => {
    console.log("this is promise")
    reject()
  })
    .then(
      (res) => {},
      (err) => {}
    )
    .finally(() => {
      console.log("finally 已经完成！！！")
    })
</script>
